home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2006 April / DPPRO0406DVD.ISO / Essentials / Programming / Eclipse SDK / eclipse-SDK-3.1.1-win32.exe / eclipse / plugins / org.eclipse.help.webapp_3.1.0 / basic / err.jsp < prev    next >
Encoding:
Text File  |  2005-09-29  |  934 b   |  41 lines

  1. <%--
  2.  Copyright (c) 2000, 2004 IBM Corporation and others.
  3.  All rights reserved. This program and the accompanying materials 
  4.  are made available under the terms of the Eclipse Public License v1.0
  5.  which accompanies this distribution, and is available at
  6.  http://www.eclipse.org/legal/epl-v10.html
  7.  
  8.  Contributors:
  9.      IBM Corporation - initial API and implementation
  10. --%>
  11. <%@ page import="org.eclipse.help.internal.webapp.data.*" contentType="text/html; charset=UTF-8"%>
  12. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  13. <html>
  14.  
  15. <head>
  16. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  17. <title> Error </title>
  18. </head>
  19. <%
  20. String  direction = "ltr";
  21. try{
  22.     if(UrlUtil.isRTL(request, response)){
  23.         direction = "rtl";
  24.     }
  25. }catch(Exception e){
  26. }
  27. %>
  28.  
  29. <body dir="<%=direction%>">
  30.  
  31.     <%@ page isErrorPage="true" %>
  32.     
  33.     There was an error in your action:
  34.     <p>
  35.     <%= exception.toString() %>
  36.     </P>
  37.     
  38. </body>
  39. </html>
  40.  
  41.